package com.gyj.server.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 心跳响应
 * @author Gao
 * @date 2021/6/26
 */
public class HeartBeatResponse {

    public static final String SUCCESS = "success";

    public static final String FAILURE = "failure";

    private String status;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return ToStringBuilder.reflectionToString(this, ToStringStyle.JSON_STYLE);
    }
}
